Photodissociation of XeF2 in solid Xe and Kr