Assembly principles and structure of a 6.5-MDa bacterial microcompartment shell