Solving 2-D highly nonlinear free-surface problems with an improved smoothed particle hydrodynamics method