Structural and magnetic properties of GaAs:(Mn,Ga)As granular layers