Elasticity and wrinkled morphology of Bacillus subtilis pellicles