Russian President Vladimir Putin and North Korean leader Kim Jong Un have signed a new mutual defence pact.