Fock quantization of the Dirac field in cosmology with unitary dynamics