A general weight function for inclined cracks at sharp V-notches