A Variable-Flavour Number Scheme for NNLO