Text this: Fetal electrocardiogram extraction and R-peak detection for fetal heart rate monitoring using artificial neural network and correlation