Factors associated with neonatal-near miss: birth cohorts in three Brazilian cities - Ribeirão Preto, Pelotas and São Luís, Brazil.