Erbium doped silicon single- and multilayer structures for light-emitting device and laser applications