Novel analytical treatments of electron spin-echo envelope modulation with short and extended pulses