Adaptive long-range migration promotes cooperation under tempting conditions