Interaction of deuterium with lattice defects in nickel