Legal, Socio-Pedagogical Bases for Preparing Children with Special Needs for Successful Life: Comparison of European and Ukrainian Experience