Automatic morphological description of galaxies and classification by an expert system