Macy’s reports profit on sales, margin growth