Erskine, Charles, active 1806-1812, Agent for prisonersof war at Melrose