Uniform coating of TiO2 nanoparticles using biotemplates for photocatalytic wastewater treatment