Two-body correlations from (e,e'd) reactions: 4He (e,e'd)2 H as a test case