Risk factors for respiratory distress syndrome among high-risk early-term and full-term deliveries