Effect of oxygen concentration on the chemical behavior of deuterium implanted into oxygen-containing boron thin films