Croatia have won their second-ever Davis Cup crown after Marin Cilic won the fourth rubber on Sunday, giving them an unassailable 3-1 lead in the final against France.