Transabdominal fetal pulse oximetry with near-infrared spectroscopy