Experimental studies of the possibilities of diagnosing caries in the solid tissues of a tooth by means of terahertz radiation