Minimum energy pathways of brittle and ductile deformation/fracture processes.