General method for determination of crack-interface bridging stresses