Electric and magnetic interaction of dyonic D-branes and odd spin structure