Crossing the phantom divide in brane cosmology with curvature corrections and brane-bulk energy transfer