Towards optical and electrical optimization of an OLED heterostructure in a vertical microcavity