Mechanical properties of rock joints