Molecular dynamics simulation of the photodissociation of adsorbed HCl on a MgO (001) surface