Text this: Photolysis of diatomic molecules as a source of atoms in planetaryexospheres