Elimination and migration of hydrogen in the vacuum-ultraviolet photodissociation of pyridine molecules