Differentiation in secondary education and social inequality in educational opportunities. Results from a large-scale international comparison