Synthesis of ytterbium dihalides and an x-ray diffraction study of ytterbium mixed dihalide systems