All-optical digital processing through semiconductor optical amplifiers: state of the art and perspectives