Synthesis and characterization of nano sized semiconducting material and their doped thin films for the degradation of organic compounds