Automated analysis of stellar photometric and spectroscopic data from space missions and classification of astronomical objects