Experimental study on the influence of water on the failure properties of sandstone