‘Harrowing’ report tells of patients sitting for days in chairs due to a lack of beds, patients piling up in corridors and delays to treatment