Phenotypic plasticity in resource allocation to sexual trait of alligatorweed in wetland and terrestrial habitats.