More than 40,000 turn out for event at AT&T Park to embrace champions