Ground state entanglement in quantum spin chains