Dirac equation with external potential and initial data on Cauchy surfaces