Theory of electron–hole exchange interaction in double quantum dots