Water and thermal management in a single PEM fuel cell with non-uniform stack temperature