Consumer inflation in China posts slowest pace in past year