From ions in solution to ions in the gas phase - the mechanism of electrospray mass spectrometry