Molecular mechanics of the swelling clay tactoid under compression, tension and shear