HP1 controls telomere capping, telomere elongation, and telomere silencing by two different mechanisms in Drosophila.