Numerical modelling of infragravity waves in coastal regions