The structural basis of cell envelope formation and dynamics in bacteria