Time-dependent risk of COVID-19 death with overwhelmed health-care capacity in Japan, 2020–2022