Avalanches in directed complex networks of neurons connected by stochastic synapses