Optical and ultraviolet observations of X-ray binaries.