Dilations of positive operators: Construction and ergodic theory