The X-ray/UV ratio in active galactic nuclei: Dispersion and variability