A comparison between real and complex-valued neural networks in communication applications