Cooling Time Optimization in Coffee Capsule Injection Molding: Cycle Time Calculation, Mold Cooling Design, and Defect Diagnosis