A pantry stocked with a carefully planned array of staples can keep meals healthy and interesting.