Exploring global changes in nitrogen and phosphorus cycles in agriculture induced by livestock production over the 1900–2050 period