JC Penney plans to close more than 240 stores