Hilbert-Carleman and regularized determinants for linear operators