Vacuum expectation values as sums over histories