Basic reactions of alcohols, carbonyl compounds and carboxylic acids