Physical properties of transparent and electrically conducting CdO thin films deposited by spray pyrolysis and DC reactive magnetron sputtering