Putin, Xi agree to jointly tackle Afghanistan ‘threats’