Detection of Fetal Heart Rate Accelerations and Decelerations Using Artificial Neural Networks