A study on semiconductor oxides mediated photocatalytic degradation of textile dyes in aqueous solutions and effluent