Amniocentesis and the management of premature labor