Averaged strain energy density and J-integral for U- and blunt V-shaped notches under torsion