China urges Afghanistan, Pakistan to show restraint, realize ceasefire