Dual superconductivity and vacuum properties in Yang--Mills theories