Thermodynamic optimisation of the biofuel production based on mutualism