Raptors beat Warriors to clinch first NBA title