Coastal and ex-industrial towns are most economically at risk from the COVID-19 pandemic, according to new research.