The effect of growth conditions on the properties of ZnO nanorod dye-sensitized solar cells