Analytical and numerical modelling of air trapping during wetting of unsaturated soils