Integrated optical model for organic light-emitting devices