Preparation, characterization, electrical and magnetic properties of Mn-doped dilute magnetic semiconductors