Crossover from exciton to biexciton cavity polaritons