Thousands of jobs are at risk after discount high street chain Poundland was sold - with dozens of shops expected to shut.