Nondestructive evaluation of layered ceramic materials using terahertz imaging