Calibrated mitotic oscillator drives motile ciliogenesis