Dielectric properties and long-wavelength optical modes of the high-kappa oxide LaAlO3