Kinetics and mechanism of thermal oxidation and photooxidation of nitrosylmyoglobin in aqueous solution