Entanglement in One-Dimensional Spin Systems