Target posts higher quarterly profit