Optimal energy management strategy for a fuel cell hybrid electric vehicle