The influence of salt on the structure and energetics of supercoiled DNA