California court upholds ban on ivory and rhino horn