Residual stresses in particulate composites with alumina and zirconia matrices