Modeling of ion and water transport in the polymer electrolyte membrane of PEM fuel cells