A&E departments are ‘buckling’ and 38,000 wait more than half a day for a bed as scale of winter crisis shows