No. 3 Louisville earns share of ACC title with win over Pitt