Lindhard function of a d-dimensional Fermi gas