The impact of gender inequality in education on long-run economic growth