Stochastic and vibrational resonance in complex networks of neurons