Spin-dependent Josephson current through double quantum dots and measurement of entangled electron states | Synapse