Macy’s shares surge after holiday-quarter profit tops expectations