Supercoiling-dependent DNA binding: quantitative modeling and applications to bulk and single-molecule experiments