Optoelectrochemical methods for studying interfacial reactions in biotic and abiotic systems