On the computation of stress intensity factors for three-dimensional geometries by means of the stiffness derivative and J-integral methods