Generalized Feynman-Kac Transformation and Fukashima's Decomposition for Nearly Symmetric Markov Processes