Electronuclear sum rules for few-body nuclei