Type I integrable defects and finite-gap solutions for KdV and sine-Gordon models. (19th June 2017)