Profunctors and spans of sets