Optimization of topology and energy management in fuel cell cruise ship hybrid power systems