Synthesis and characterization of nano sized semiconducting material thin films and their use in optoelectronics and pollution control