Elderly patients lie on floor as hospital queues stretch for hours