Exponential synchronization of neural networks with discrete and distributed delays under time-varying sampling