Evolution kernels of skewed parton distributions: Method and two-loop results