Boundary Value Problems for Dirac Equations and the Heat Flow for Dirac-harmonic Maps