Markov additive processes. I