Optimization of a protective medium for enhancing the viability of freeze-dried Bacillus amyloliquefaciens B1408 based on response surface methodology.