Discovery of Hard Nonthermal Pulsed X-Ray Emission from the Anomalous X-Ray Pulsar 1E 1841–045