Japan and Mexico have signed a deal for Japanese companies to earn carbon credits by investing in technology to cut greenhouse gas emissions in Mexico - in Japan's 12th bilateral carbon agreement.