Russia moots mechanism with Afghanistan, Pakistan