Physical and electronic properties of electrodeposited ZnO thin films: dependence on thickness