Why diets matter and are key to understanding ancient and modern ecosystems