Resonant tunneling diodes in semiconductor microcavities : Modeling polaritonic features in the terahertz displacement current