Laser-atomic-beam spectroscopy in Sm: Isotope shifts and changes in mean-square nuclear charge radii