Two Japanese retailers have come up with formulas for success despite economic hardships.