Photochromism of silver(I) and mercury(II) dithizonates