Optical and electrical properties of Ni-doped CdO thin films by ultrasonic spray pyrolysis