World No1 Jannik Sinner helped defending champions Italy book their place in the Davis Cup final with a 2-0 win over Australia in Malaga.