A versatile method for the determination of photochemical quantum yields via online UV-Vis spectroscopy