Photochemical and thermal transformations of diazo derivatives of 1-aryloxy- and 1-arylthio-2-aminoanthraquinones