The role of peptidoglycan structure and structural dynamics during endospore dormancy and germination