Darboux transformations for a generalized Dirac equation in two dimensions