A review of the engineering behaviour of soils and rocks with respect to groundwater