US department store retailer JC Penney has recorded its first quarterly comparable store sales increase since the second quarter of 2011.