Magnetism and nuclear magnetic resonance of hectorite and montmorillonite layered silicates