Optimization algorithm applied to extended range fuel cell hybrid vehicles. Contribution to road transport decarbonization