Adaptive Plasticity in Amphibian Metamorphosis