High efficiency esterification and transesterification of alternative feedstock for biodiesel production