Measurement of permeability of tight rocks