US inflation edged up in December, fueled by food and housing prices, but many other costs rose only mildly