Calculations of electromagnetic nucleon form factors and electroexcitation amplitudes of isobars