Rising temperatures are linked to increasing rates of suicide, according to a large new study.