Photonuclear sum rules and interaction effects in the deuteron