Molecularly engineered copolyimide film for capacitive humidity sensor