Regulation of motility and polarity in Myxococcus xanthus