H and D depth profiles in implanted and laser-annealed beryllium