Small families and large cohorts : the impact of the demographic transition on schooling in Brazil