Optical bistability in a vertical-cavity semiconductor optical amplifier (VCSOA): pulsed input