pH-indicators doped polysaccharide LbL coatings for hazardous gases optical sensing.