Influence of wetting and surface effects on splat formation during thermal spraying