Enzymatic preparation of a carbohydrate ester of medium-chain fatty acid in supercritical carbon dioxide