Spin-Lattice and Spin-Spin Relaxation in Porous Media: A Generalized Two Site Relaxation Model