Acetyl migrations in a photoexcited βγ-unsaturated methyl ketone: 1,3-shift in the excited singlet state and 1,2-shift in the triplet state