Constraints on the lateral diffusion of membrane proteins in prokaryotes