Dirac equation in (1+1)-dimensional curved space-time