S.Africa's Shoprite posts profit jump on better Q2, declares dividend