Algorithmic analysis of estriol time concentration curves as a guide to timing of amniocentesis for fetal lung maturity.