what are the two types of compounds used to make esters? give an example of each. clearly identify their functional groups.