Numerical simulation of controlled transition to developed turbulence in a zero-pressure-gradient flat-plate boundary layer