The Variable X‐ray and Near‐IR Behavior of the Particularly Anomalous X‐ray Pulsar 1E 1048.1–5937