Optimization of the performance, operation conditions and purge rate for a dead-ended anode proton exchange membrane fuel cell using an analytical model