Exiled Tibetan spiritual leader thanks ‘principled’ southern African nation for resisting pressure from Beijing to cancel his tour