Fish populations are declining as oceans warm, putting a key source of food and income at risk for millions of people, according to new research.