Analysis and improved synthesis of parasorbic acid