Growth, reproduction and resource allocation in halophytes