UN envoy talks with Libyan sides