Martin takes Grand Prix of Americas pole in Ducati sweep