Comparison of cocycles of measured equivalence relations and lifting problems