Oxidation of allylic and benzylic alcohols to aldehydes and carboxylic acids