Dynamic optical bistability in resonantly enhanced Raman generation