Marcel Granollers and Pedro Martinez led Spain to the Davis Cup final against Italy, overcoming Germany 2-1, with key wins from Pablo Carreno Busta and a decisive doubles victory.