Measuring leadership and management and their linkages with literacy in rural and township primary schools in South Africa