King hails Mandela friendship on South Africa state visit