X-ray and radio observations of the magnetar Swift J1834.9-0846 and its dust-scattering halo