UN asks India, Pakistan to exercise restraint