Glauber Dynamics for One-dimensional Spin Models with Random Fields