Odd-even staggering and shell effects in nuclear charge radii