Numerical modelling of transverse cracking in embankment dams