Numerical simulation of wetting-induced collapse in partially saturated granular soils