Developing a Coarse-Grained Model for Bacterial Cell Walls and Evaluating Mechanical Properties and Free Energy Barriers.