A generalised method for the extraction of chemically resolved mass spectra from aerodyne aerosol mass spectrometer data