Japan's 2012 trade deficit a record