Stylistic analysis of expressions of congratulations and condolences in written texts