The dynamic response of fluid-saturated porous materials with application to seismically induced soil liquefaction