A complete invariant for closed surfaces in the three-sphere