Defending champions Inter Milan have moved to second on the Italian league table, two points behind Napoli, after a 3-2 win over 10-man Torino.