China stocks close up as investors buy index heavyweights