Libya rivals discuss unity govt, security: UN