The chemical composition of the interstellar medium