Bifurcation analysis on a generalized recurrent neural network with two interconnected three-neuron components