The core in perfectly competitive economies