Effect of annealing temperature on the hole concentration and lattice relaxation of carbon‐doped GaAs and AlxGa1−xAs