Optimization of a two-step process for biodiesel production from Jatropha curcas crude oil