Subducting-slab transition-zone interaction: Stagnation, penetration and mode switches