Electrical activation and lattice location of B and Ga impurities implanted in Si