Mechanism of chlorine dioxide photodissociation in condensed media