Humidity sensor based on alkali salts of poly(2-acrylamido-2-methylpropane sulfonic acid)