A Survey of Robustness and Safety of 2D and 3D Deep Learning Models Against Adversarial Attacks