A Bonse--Hart ultrasmall angle x-ray scattering instrument employing synchrotron and conventional x-ray sources