Williams throws for 5 TDs, No. 10 USC outlasts Arizona