New finite-difference methods for free surfaces with a stability analysis