Effect of annealing on the electric and magnetic properties of GaMnAs and Be-codoped GaMnAs