Field and lab experimental demonstration of nonlinear impairment compensation using neural networks