The one-dimensional Dirac equation with concentrated nonlinearity