Mechanistic model predicts tissue–environment relationships and trophic shifts in animal hydrogen and oxygen isotope ratios