Yemen on 'edge of civil war,' warns UN envoy