Electrodeposition of single and duplex layers of ZnO with different morphologies and electrical properties