Microscope-based static light-scattering instrument enables precise measurements of heterogeneous materials