Surface and subsurface characterization of optical materials