Mechanism of photochromic transformations of peri-acyloxy-9,10- and 1,4-anthraquinone derivatives