A&E patients ending up in 'corridors and cupboards'