A Method for Direct Numerical Simulation of Compressible Boundary-Layer Transition