Spirometry is related to perinatal outcomes in pregnant women with asthma.