Chemically deposited nickel oxide as counter electrode for dye sensitized solar cell