Energy Distribution of Individual Quasars from Far-Ultraviolet to X-Rays. I. Intrinsic Ultraviolet Hardness and Dust Opacities