Structural, optical and electrical properties of copper oxide thin films deposited by spray pyrolysis