Treatment of textile effluents by membrane technologies