Chinese markets close out 2012 on high note