Gap Inc. ends year with strong earnings growth