Static and Dynamic Frequency Shifts in Electron Spin Resonance Spectra