Charge transfer complexation of dyes with surfactants and its effects on photovoltage generation in a photoelectrochemical cell