Russian President Vladimir Putin has promised to build trade and security ties with North Korea ahead of his visit to Pyongyang.