Soaring numbers of pensioners left 'stranded' in hospital for weeks