Structural and optical study of ZnO-TiO2 nanocomposites