Power corrections in a transverse-momentum cut for colour-singlet production at NLO and NNLO in QCD