J.C. Penney Q3 profit rises 63% on improved sales, lower costs