Numerical investigation of nearshore wave transformation and surf zone hydrodynamics