Flagellar rotation and the mechanism of bacterial motility