Transverse effects and self-pulsing in optical bistability