How local productivity growth affects workers near and far