Relationship between plant reproduction and environmental stress