Bipolar behaviour of salt-bridges: a combined theoretical and crystallographic study