Socioeconomic segregation between and within curriculum tracking