Bistability, limiting, and self-pulsing in backward second-harmonic generation: a time-domain approach