Analysis of the formation and failure of Ram Creek landslide dam, South Island, New Zealand