Magnetic properties of (Ga,Mn)As