Electromagnetic sum rules in light nuclei