Matrix elements between determinantal wavefunctions of non-orthogonal orbitals