Synthesis of oxide layer coated ZnO and TiO2 nanoparticles and their application in dye sensitized solar cells