Xiaomi Q2 revenue falls 6% as auto margins pressure core profit