Gating prokaryotic mechanosensitive channels