A pantry — of either the walk-in or the reach-in variety — can be tricky. Here's what to do to make it work for you.