Stresses at the roots of cracks notches and cavities and mechanisms of brittle and ductile fracture of metals