Influence of the geometry of partially-spanning joints on the uniaxial compressive strength of rock