Maternal and neonatal factors associated with poor early weight gain and later retinopathy of prematurity