Two-state solution only way to peace: UN chief