Moderate quake jolts Japan, two injured