[2407.01312] ToCoAD: Two-Stage Contrastive Learning for Industrial Anomaly Detection