Finite element modeling of frictional contact and stress intensity factors in three-dimensional fractured media using unstructured tetrahedral meshes