Text this: Near-field terahertz time-domain spectroscopy for in-line electrical metrology of semiconductor integration processes for memory