All-optical logic gates with 1550nm Fabry-Perot and distributed feedback semiconductor laser amplifiers