A hypercentral approach to nucleon form factors