Gap posts surprise rise in comparable sales as Old Navy, Athleta boost online demand