US inflation edges up, fueled by food and housing prices, but many other costs rise only mildly