Grocery and food costs in San Francisco can be higher than the national average. Understanding what to expect can help you budget effectively.