Decolorization of acid and basic dyes: understanding the metabolic degradation and cell-induced adsorption/precipitation by Escherichia coli