Synthesis and characterization of ZnO–Ag core–shell nanocomposites with uniform thin silver layers