Noninvasive method to find oxygen saturation of the fetus using photoplethysmogram