Field-dependent chemisorption of carbon monoxide and nitric oxide on platinum-group (111) surfaces: Quantum chemical calculations compared with infrared spectroscopy at electrochemical and vacuum-based interfaces