The Shapley–Folkman theorem and the range of a bounded measure: an elementary and unified treatment