Self-Supervised Masking for Unsupervised Anomaly Detection and Localization