MC-Smooth: A mass-conserving, smooth vorticity–velocity formulation for multi-dimensional flows