Green's and Dirichlet spaces for a symmetric Markov transition function