On the rule of mixtures for predicting the mechanical properties of composites with homogeneously distributed soft and hard particles