Fast humidity response of a metal halide-doped novel polymer