Deep Learning Model Security: Threats and Defenses