Many animals, including Daphnia, are able to reproduce both sexually and asexually. Which of the following statements represents the leading hypothesis explaining the advantage associated with the ability to switch from asexual to sexual reproduction?