ANOMALIES IN GAUGE THEORIES