Equivalent Hermitian Hamiltonians for some non-Hermitian Hamiltonians