Toughness of graphs and 2-factors with given properties