A study of microdefects in n-type doped GaAs crystals using cathodoluminescence and X-ray techniques