CSI 2264: Investigating rotation and its connection with disk accretion in the young open cluster NGC 2264