Locations of terminal segments of flagellin in the filament structure and their roles in polymerization and polymorphism.