Target tops third quarter profit expectations, but inflation weighs on shoppers