Calif. high court upholds affirmative action ban