People in "left behind" coastal communities are among those more likely to die from Covid-19, a study has found.