The effect of permeability gradients on immiscible displacement in Hele-Shaw flows