National and democratic trends in the development of the St. Petersburg Academy of Sciences