Electron Spin Resonance: Elementary Theory and Practical Applications