Conformations of tartaric acid and its esters