Effect of violating t-invariance of the electromagnetic interaction of hadrons in the processes n + p → d + γ and n + → d + e++e−