Installation and method for recovering carbon or glass fibres from composite materials