Most rivers around the world are losing oxygen as climate warming and heatwaves intensify, according to a major new study.