Luxury brand Burberry saw sales growth slow in the second quarter as demand weakened in the UK and China.