On the origin of the bimodal rotational velocity distribution in stellar clusters: rotation on the pre-main sequence