UN urges India and Pakistan to exercise ‘maximum restraint’