Thompson beats Curry to win 3-point title