H1 linker histones silence repetitive elements by promoting both histone H3K9 methylation and chromatin compaction