Simultaneous All-Optical Half-Adder and Half-Subtracter Based on Two Semiconductor Optical Amplifiers