Model and simulation of a packed resin column for biodiesel purification