Regularization by inexact Krylov methods