Max Purcell and Jordan Thompson beat the German pair of Kevin Krawietz and Tim Putz as the Australian duo won the US Open men's doubles title.