Effect of energy metabolism on protein motility in the bacterial outer membrane.