Modified spontaneous emission from erbium-doped photonic layer-by-layer crystals