Controllable synthesis, growth mechanism, structure and optical properties of ZnO–SiO2 nanocomposites