Gender gaps in education: The long view