A direct method for the identification of the permeability field based on flux assimilation by a discrete analog of Darcy's law