Gloucester, New Bedford, other ports in line for special Commerce economic aid