Efficient optimization method for the light extraction from periodically modulated LEDs using reciprocity