Analytic results for color-singlet production at NNLO QCD with the nested soft-collinear subtraction scheme