Structure, dynamics, and mechanism of genome packaging motors in dsDNA viruses