Inflation slows in May, with consumer prices up 3.3% from a year ago