Anomalous Sound Detection Using Self-Attention-Based Frequency Pattern Analysis of Machine Sounds