Functional domains of the HK97 capsid maturation protease and the mechanisms of protein encapsidation.