Modified effective medium formulation for the thermal conductivity of nanocomposites