Correlated Infrared and X-ray variability of the transient Anomalous X-ray Pulsar XTE J1810-197