Effects of dipolar interactions on deuteron nuclear magnetic resonance spin echoes in solids