Design and development of DELFT3D and application to coastal morphodynamics