Estimation of Granger Causality through Artificial Neural Networks: applications to Physiological Systems and Chaotic Electronic Oscillators