Structure and structural transitions of charged proteins in mass spectrometry