Nonhomogeneous Markov processes