Dynamic analysis of PEM fuel cells and metal hydrides on a zero-emission ship: A model-based approach