Gene flow increases fitness at the warm edge of a species’ range