A Weakly Supervised Gradient Attribution Constraint for Interpretable Classification and Anomaly Detection