Semiconductor optical amplifier-based all-optical modified signed-digit adder