Influence of habitat on density and breeding success of grey and red-legged partridges