New Bedford and Gloucester file brief opposing Cape Cod Hook argument