Local Times and Capacity for Random Walks