Former skipper Dane van Niekerk quits Proteas after ‘emotional, lonely and painful journey’