China inflation slows in June as domestic demand remains weak