Comparative Investigation on the Compression–Shear and Tension–Shear Behaviour of Sandstone at Different Shearing Rates