Self-adaptive logit balancing for deep neural network robustness: Defence and detection of adversarial attacks