A dynamic method for determining the soil water characteristic curve for coarse-grained soils