The influence of climatic and dietary factors on the population density of wild boar Sus scrofa in Catalonia