Stable, oscillatory, and chaotic regimes in the dynamics of small neural networks with delay