Cell–cell adhesion and 3D matrix confinement determine jamming transitions in breast cancer invasion