Understanding nursing students' attitudes toward working in rural areas in South Africa: the results of a cohort study