Discrete-Event Simulation Thermal Model for Extrusion-Based Additive Manufacturing of PLA and ABS