Federal court upholds Southern California gas appliance ban