More than 30 patients at a time are being held in beds at Tameside Hospital with no medical reason to be there, the coroner has been told