Open-quantum-system formulation of particle decay