Conformations and barriers to inversion of seven-membered cyclic oxamides and their monothio- and dithio-analogues: a study by dynamic nuclear magnetic resonance spectroscopy and molecular mechanics