Tradeoffs between somatic and gonadal investments during development in the African clawed frog (Xenopus laevis).