CFD simulation of equilibrium shape and coalescence of ferrofluid droplets subjected to uniform magnetic field