Dielectric properties of the Si(111)2×1 surface: Optical constants and the energy-loss spectrum