Structure-Based Coarse- and Fine-Graining in Soft Matter Simulations