Control of spin state in CdSe quantum dots by coupling with magnetic semiconductor quantum dots