Structural characterization of diatomic fluids by diffraction studies