Formation of the legal consciousness of pupils of residential institutions