The Value of Information for Populations in Varying Environments