Protection of CpG islands from DNA methylation is DNA-encoded and evolutionarily conserved