Structural basis for genome packaging, retention, and ejection in human cytomegalovirus