A plasma spectroscopic study of molecular hydrogen and hydrocarbons in a tokamak; techniques and problems