Calculation of the electron transfer coupling matrix element in diabatic reactions