Treatment of glycerol phase formed by biodiesel production