The educational functioning of the school and the family developing the children’s values orientation