Strong impact of the solvent on the photokinetics of a 2(1H)-pyrimidinone