Inelastic electron scattering from low-lying states in the nuclei 36Ar and 40Ar