The Kontorovich-Lebedev transformation on the Sobolev type spaces