Inverse tridiagonal Z-matrices