Definition and attractiveness of small cities and towns in France