Nonabelian localization in equivariant K-theory and Riemann–Roch for quotients