Modeling negative capacitance effect in organic polymers