Continuous analogues of Cochran-Mantel-Haenszel statistics