Chromatin assembly in vitro and in vivo