Synthesis and characterization of ZnO-TiO2 nanocomposites and their application as photocatalysts