Condensate fraction of a Fermi gas in the BCS-BEC crossover