Passivation of Shallow Acceptors in Si and GaAs by Annealing in H2