Liquefaction resistance of soils from shear-wave velocity