The effect of hydrogen in solid solution on the magnetic transitions in thulium