Text this: Studies of the photoelectrochemistry of organic dyes using attenuated total reflection techniques