Soluble and thermally stable polyamides bearing 1,1' -thiobis (2 -naphthoxy) groups