Swimming and twitching motility are essential for attachment and virulence of Pantoea ananatis in onion seedlings.