Humidity-sensitive and water-resistive polymeric materials