Rotation and Activity of Pre-Main-Sequence Stars