Competition between salt bridge and non-zwitterionic structures in deprotonated amino acid dimers.