First-principles calculations of electronic structures of diluted magnetic semiconductors (Ga,Mn)As