Numerical investigation of three-dimensional active control of boundary-layer transition