Djokovic beats Federer to lift US Open Title