All-optical polariton transistor