Primary energy demand in Japan: an empirical analysis of long-term trends and future CO2 emissions