Xiaomi's Q2 profit slides 42.6% as memory costs squeeze smartphone margins