A numerical heat transfer study on spheres and droplets in two-phase flows