Artificial neural networks for recognition of electrocardiographic lead reversal