There’s a way to tame the green-eyed monster, transforming envy into surprisingly effective motivation