The effect of the solvent quality on the relaxation behaviour of a polymer chain