Triple-phase ceramic 2D nanocomposite with enhanced thermoelectric properties