Lattice gas automata for flow through porous media