Fluctuating soft-sphere approach to coarse-graining of polymer models