Single-mode, narrowband thermal emitters based on quantum wells and photonic crystals