Methanolysis of triglycerides by an anion exchange resin