Hole traps in bulk and epitaxial GaAs crystals