Diagnostics and assessment of technical condition of steam and water pipelines