Transverse eigenproblem of steady-state heat conduction for multi-dimensional two-layered slabs with automatic computation of eigenvalues