Effects of socioeconomic status on breastfeeding duration in mothers of preterm and term infants.