Photoluminescence of erbium in amorphous hydrogenated phosphorus-doped silicon