Relativistic description of BCS–BEC crossover in nuclear matter