On the Mechanisms of Coalescence of Nanodroplets and Sintering of Solid Particles