Consumer prices rise as cost of shelter jumps