School trajectory and teenage pregnancy in three Brazilian state capitals.