A man shared his wife with his friend in a steamy encounter