Theoretical transient behaviour of saturated and unsaturated soils under load and changing moisture conditions