Four-time champions Russia win a dramatic tie against Serbia in Belgrade to reach the semi-finals of the Fed Cup.