Fish species are expected to shrink in size by up to 24% because of global warming, say scientists.