Analysis of defects in ceramics through photothermal deflection method