Regulated interaction of ID2 with the anaphase-promoting complex links progression through mitosis with reactivation of cell-type-specific transcription