Bioenergetic theory predicts infection dynamics of human schistosomes in intermediate host snails across ecological gradients.