Topology, stability and robustness of tensegrity structures