Studies on heterogeneous photocatalytic degradation of textile dyes and their simulated dyebath wastewater