Composition of interstellar gas and dust