Which of the following functional groups can act as both an acid and a base?