Interphase and intergranular stress generation in composites exhibiting plasticity in both phases