Nucleon electroweak form factors: Analysis of their spectral functions