A Lagrangian nodal integration method for free-surface fluid flows