Health bosses have been urged to tackle bed blocking and long emergency department waits in hospitals by a coroner, who warned that there is a “risk of future deaths unless something is done”.