A Method for Simultaneous Determination of Permeability and Porosity in Low-Permeability Cores