On some necessary and sufficient conditions for a recurrent neural network model with time delays to generate oscillations