The microstructure and performance of solid-state hydrogen sensor using CH3COONH4-doped chitosan as electrolyte