Crystal structure of flagellar chaperone from bacteria