China's ZTE slumps to quarterly loss, margins bleed