Pakistan attaches great value to its relations with South Africa: COAS