Inflation slows but high food prices and weak rand risk outlook