Two seriously injured sailors have been carried to safety after their boat was badly damaged in stormy waters off California.