Electrical and optical properties of gallium-doped zinc oxide films deposited by dc magnetron sputtering