Charge-density waves in pure and intercalated Nb3Te4