Evolution of Epigenetic Mechanisms in Animals and Their Role in Speciation