Housing, grocery prices drive surprise inflation hike