Deuterium location and migration in metals: Comparison of implantation and solid solution