A complete invariant for connected surfaces in the 3-sphere