Affinity of hydroxyapatite (001) and (010) surfaces to formic and alendronic acids: a quantum-mechanical and infrared study