UN committed to two-state solution on 'pre-1967 lines'