All-optical quantum simulator of qubit noisy channels