A subtraction scheme for computing QCD jet cross sections at NNLO: regularization of doubly-real emissions