Linking DNA replication to heterochromatin silencing and epigenetic inheritance