Generalized lag synchronization of neural networks with discontinuous activations and bounded perturbations