Measurement of B -> X gamma Decays and Determination of |Vtd/Vts|