Epigenetics in adaptation and evolution