Thousands of patients die waiting for beds in hospitals – study