Modeling amino-acid side chain infrared spectra: The case of carboxylic residues