Photochemical reactions of thiobenzamides bearing an allylic substituenton the nitrogen atom: double-bond migration via tandem 1,4- and1,6-hydrogen transfer