Ion–dipole interactions and their functions in proteins