Eigenvalues of one-dimensional non-self-adjoint Dirac operators and applications