Magnetic Resonance Of Nuclear And Electronic Spins In Molecules And Semiconductors For Quantum Information Processing