Conservative smoothing with B-splines stabilizes SPH material dynamics in both tension and compression