Water-content-dependent morphologies and mechanical properties of Bacillus subtilis spores’ cortex peptidoglycan.