Chinese shares end higher at midday