Photoelectrochemical detection of alcohols