Plasticity of Daphnia life histories in response to chemical cues from predators