Energetic optimization of vegetable oil transesterification for biodiesel production