Which of these animals spends part of its life as a polyp and part as a medusa?