Man in critical condition after shooting outside Dallas apartments