Wood Anomalies and Surface-Wave Excitation with a Time Grating