Cruise ship firms win Ruby Princess class action appeal