Permeability and effective pore pressure of shales