Density functional theory and FTIR spectroscopic study of carboxyl group