Infrared spectroscopy to probe structure and dynamics in metal ion-molecule complexes