Changes in climate are strongly linked to increases in violence around the world, a study by US scientists suggests.