All-Optical Logic Gates Based On Vertical Cavity Semiconductor Optical Amplifiers