Charged black rings from inverse scattering