Law of the iterated logarithm for some Markov operators