Optimization of fish-oil-based biodiesel synthesis