On the behaviour of rubberlike materials in compression and shear