The gig economy is only good for some workers—but it doesn’t need to be that way