Measurement of B -> X gamma Decays and Determination of |V-td/V-ts|