The Nuffield Trust said long-standing issues relating to corridor care include a low number of beds on wards, and inadequate social care outside of hospitals