Tech Mahindra acquires its two South African joint ventures