Active inference, selective attention, and the cocktail party problem