Beijing vows all those involved in Hong Kong clashes and those behind the demonstrations will be punished.