Chemical behavior of energetic deuterium implanted into tungsten carbide