Esterification of stearic acid with glycerol by lipase in foam