Eomes and Brachyury control pluripotency exit and germ-layer segregation by changing the chromatin state