The dual pair Pin(2n)×osp(1|2), the Dirac equation and the Bannai–Ito algebra