Electrochemical and photoelectrochemical oxidation of selected organic compounds on TiO2 electrodes and the effect of adsorption on the oxidation potentials