Fashion designer Zac Posen is joining Gap as creative director as the clothing chain tries to revive sales.