Bioreactor optimization for the treatment of industrial wastewaters by means of a fungal strain