Environmental groups tell appeals court NC regulators erred