A scaling for vortex formation on swept and unswept pitching wings