Attitudes to the observance of ethical standards and their influence on the dominant mental states