The interrelationship of the foam stability test, immaturity, and intrapartum complications in the respiratory distress syndrome