Apple, Samsung to drop court cases outside the US