Photoion mass spectroscopy and valence photoionization of hypoxanthine, xanthine and caffeine