N-jettiness subtractions for NNLO QCD calculations