Steady free-surface flow in porous media: generalized Dupuit-Fawer equations