Stability switches and Hopf bifurcations in a pair of identical tri-neuron network loops