Cartica suggests five ways to retain top talent beyond flexible work arrangements, extravagant benefits, and competitive pay.