A generalized mathematical model to study gas transport in PEMFC porous media