Moment characterization of matrix exponential and Markovian arrival processes