Biorthogonal approach for explicitly correlated calculations using the transcorrelated Hamiltonian