On the neutralino as dark matter candidate. I. Relic abundance