Two goals from Ferran Torres gave Barcelona a dramatic 3-2 win in Germany, climbing to second in the UCL table