Regulated nuclear accumulation of a histone methyltransferase times the onset of heterochromatin formation in C. elegans embryos