The Weighted Transience and Recurrence of Markov Processes