Exploring Attacks and Defenses in Additive Manufacturing Processes: Implications in Cyber-Physical Security