The composition and distribution of dust along the line of sight toward the Galactic Center