A multi-criteria algorithm for automatic detection of city communities