Dynamics of the 4D genome during in vivo lineage specification and differentiation