Hundreds of thousands of NHS patients are spending more than 24 hours in A&E - with more than 13,000 waiting at least three days - as research shows how long waits have surged