Effect of silver doping on the structural, morphological, optical and electrical properties of sol–gel deposited nanostructured ZnO thin films