Theory of vibronic transitions between states with hard and soft local phonon dynamics