External luminescence and photon recycling in near-field thermophotovoltaics