Contribution to problems of relationship of social pedagogy and social work