Analysis of impurities using a high performance liquid chromatograph mass spectrometer