Schwartzman gets it done in Davis Cup