Production and isolation of chitosan by submerged and solid-state fermentation from Lentinus edodes