The material of the interstellar dust and the surface of asteroids: A comparison of the spectral properties in the 0.3–1.1-μm range