Epigenetics and the evolution of instincts