Spin Groups Over a Commutative Ring and the Associated Root Data