Subtraction scheme for next-to-next-to-leading order computations