Climate, tree masting and spatial behaviour in wild boar (Sus scrofa L.): insight from a long-term study