Stability of the synchronized network of Hindmarsh-Rose neuronal models with nearest and global couplings