Application of diluted magnetic semiconductors and quantum dots to spin polarized light sources