First-principles Study of the Infrared Spectrum of the Ice Ih (0001) Surface