Photochemical reduction of acylimidazolium salts