The application of electrospray mass spectrometry to ionic inorganic and organometallic systems