Photodimers of cinnamic acid and related compounds. A stereochemical study by NMR