Besov class via heat semigroup on Dirichlet spaces II: BV functions and Gaussian heat kernel estimates