Double fibrations assocaited to singular canonical relations and microlocal analysis of X-ray transforms