US inflation accelerated last month to highest level since February