Optimized process for recovery of glass- and carbon fibers with retained mechanical properties by means of near- and supercritical fluids