The Chinese ambassador has been summoned by the UK government to make clear that use of illegal stun weapons is “unacceptable”, Foreign Secretary Ed Miliband has said.