Dai-Freed anomalies in particle physics