The chemical composition of interstellar molecular clouds